package ooday02;

public class Teacher extends Person {
	double salry;
	Teacher(){
	}
	Teacher(String name, int age, String address, double salry){
		super(name,age,address);
		this.salry = salry;
	}
	void teach(){
		System.out.println(name+"正在讲课");
	}
}
